package com.yungu.swift.system.finance.dao;

import com.github.miemiedev.mybatis.paginator.domain.PageBounds;
import com.github.miemiedev.mybatis.paginator.domain.PageList;
import com.yungu.swift.base.mapper.IMapper;
import com.yungu.swift.system.finance.model.dto.FinanceActualFlowDto;
import org.apache.ibatis.annotations.Param;

import java.util.Collection;
import java.util.List;
import java.util.Map;

/**
 * 财务流水Mapper
 *
 * @author xiuyin.cui - Generate
 * @version 1.1.0-SNAPSHOT
 * @since 2019-04-25 13:50
 */
public interface FinanceActualFlowMapper extends IMapper<FinanceActualFlowDto> {

    /**
     * 乘客查找已完成的可开票充值信息
     *
     * @param paramMap   Map
     * @param pageBounds PageBounds
     * @return List<FinanceActualFlowDto>
     */
    List<FinanceActualFlowDto> queryPageCanBill(Map<String, Object> paramMap, PageBounds pageBounds);

    /**
     * 【后台】乘客按行程开票列表
     *
     * @param orderIds   订单集合
     * @param pageBounds PageBounds
     * @return PageList<FinanceActualFlowDto>
     */
    PageList<FinanceActualFlowDto> rechargeInvoicePage(@Param("orderIds") Collection<String> orderIds, PageBounds pageBounds);
}